package com.baizhi.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private String id;
    private String username;
    private String phone;
    private String headImg;
    private String brief;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date creatdate;
    private Integer status;
    private String wechat;
}
